//
//  SettingView.h
//  firebkball
//
//  Created by ren jian on 18/5/31.
//
//

#ifndef SettingView_h
#define SettingView_h

#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "UserDataManager.h"

using namespace cocostudio::timeline;

class SettingView : public Layer
{
private:
    Size m_size;
    Node *m_controller;
    
    int m_selectedIndex;
    Vector<Node *> m_editNode;
public:
    static Scene *createScene();
    
    virtual bool init();
    
    virtual void onEnter();
    virtual void onExit();
    
    CREATE_FUNC(SettingView);
    
    void closeMe(Ref *ref);
    
    void onClickLeft(Ref *ref);
    void onClickRight(Ref *ref);
    void onClickUp(Ref *ref);
    void onClickDown(Ref *ref);
};

#endif /* SettingView_h */
